package com.unissoft.ordersystem.dataaccess.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.unissoft.ordersystem.dataaccess.common.EntityCriteria;
import com.unissoft.ordersystem.dataaccess.common.Pagination;
import com.unissoft.ordersystem.dataaccess.model.AccountEntity;

public interface AccountEntityMapper {
	public void insert(AccountEntity entity);

	public void delete(int sid);

	public void update(AccountEntity entity);

	public AccountEntity get(int sid);

	public List<AccountEntity> list(
			@Param("criteria") EntityCriteria entityCriteria,
			@Param("page") Pagination page);
	
	public int count(@Param("criteria") EntityCriteria entityCriteria);
}